<template>
	<div>
		<activitiesCoupons :couponsCode="list" :copolddataobj='copolddatacup' :couponsid="couponsid" v-if="list.length>0"></activitiesCoupons>
	</div>
</template>

<script>
	import activitiesCoupons from "../../../components/activitiesCoupons2";
	export default {
		props: {
			list: {
				type: Array,
				default: () => []
			},
			couponsid: {
				type: String,
				default: ""
			},
	copolddata:{
				type: Object,
				default: {}
			}
		},
		data() {
			return {
				copolddatacup:{}	
			}
		},
		computed: {
			env() {
				return window.environment; // 获取是否是编辑状态
			},
		},
		components: {
			activitiesCoupons,
		},
		methods: {
			
		},
		created() {

		},
		watch:{
	copolddata(data){
				this.copolddatacup = data
		
			}	
		},
		mounted() {
			
		}
	}
</script>

<style>
</style>